What's the most useful piece of logic you use? [closed]

Posted by nomaderWhat on Programmers See other posts from Programmers or by nomaderWhat
Published on 2011-03-09T04:03:55Z Indexed on 2011/03/09 8:18 UTC
Read the original article Hit count: 180

Filed under:

Just tapping away and automatically made use of that one logic algorithm I always use, which you'll probably guess is:

(not A) OR (not B) = not (A AND B)

Curious if this is the case for just about everyone else, and more curious if there is a different algorithm that other programmers make use of that is just as if not more useful to them. Really hoping for the latter, cause the one above is well... so boring.

© Programmers or respective owner

Related posts about programming-logic